﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AmorCanino.Exceptions;

namespace AmorCanino
{
    public static class ArgumentExtensions
    {
        public static void ThrowIfNull(this string value)
        {
            if (string.IsNullOrEmpty(value)) 
                throw new IncorrectArguments("Value is null");
        }
    }
}
